From db6d500550f3799e70716343b26c93217792322d Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 17 Apr 2014 12:04:39 +0200 Subject: [PATCH] tools: remove /var/lock/subsys from install target /var/lock/subsys is used only in tools/hotplug/Linux/init.d/xendomains. The start() function already does a "mkdir /var/lock/subsys", so its not required to create this directory during make install|rpmball. Without this change installing the resulting xen.rpm will fail on systems where /var/lock is a symlink. rpm complains that '/var/lock' (the symlink) is already owned by some other system rpm package. Signed-off-by: Olaf Hering Acked-by: Ian Jackson Acked-by: Ian Campbell --- tools/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 2d32f27387..3675515eb8 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -63,7 +63,6 @@ install: subdirs-install $(INSTALL_DIR) $(DESTDIR)/var/xen/dump $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen - $(INSTALL_DIR) $(DESTDIR)/var/lock/subsys .PHONY: uninstall uninstall: D=$(DESTDIR) -- 2.30.2